var msg=["name","mail","qq","phone"];
var stdin=process.stdin;
var index=0;
var infor=[];
console.log(msg[0]+":");
stdin.on("data",function(chunk){
    var str=chunk.toString("utf-8");
    infor[index]=str;
    index++;
    if(index==4){
        console.log(infor);
        process.exit();
    }
    console.log(msg[index]+":");

})